/*    */ package com.hp.bon.sgw.domain;
/*    */ 
/*    */ import javax.persistence.*;
import java.util.Date;

/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */
/*    */ 
/*    */ @Entity
/*    */ @Table(name="t_top100_key")
/*    */ public class Top100KeyWordBean
/*    */ {
/*    */   private int id;
/*    */   private String serviceContextId;
/*    */   private String monitorKey;
/*    */   private String keyContent;
/* 26 */   private Date dataTime = new Date();
/*    */   private int protocolType;
/*    */ 
/*    */   @Transient
/*    */   public String getKey()
/*    */   {
/* 31 */     return this.monitorKey + this.keyContent + this.serviceContextId + this.protocolType;
/*    */   }
/*    */   @Id
/*    */   @GeneratedValue(strategy=GenerationType.AUTO)
/*    */   public int getId() {
/* 37 */     return this.id;
/*    */   }
/*    */ 
/*    */   public void setId(int id) {
/* 41 */     this.id = id;
/*    */   }
/*    */ 
/*    */   @Column(name="service_context_id")
/*    */   public String getServiceContextId() {
/* 46 */     return this.serviceContextId;
/*    */   }
/*    */ 
/*    */   public void setserviceContextId(String serviceContextId) {
/* 50 */     this.serviceContextId = serviceContextId;
/*    */   }
/*    */ 
/*    */   @Column(name="monitor_key")
/*    */   public String getMonitorKey() {
/* 55 */     return this.monitorKey;
/*    */   }
/*    */ 
/*    */   public void setMonitorKey(String monitorKey) {
/* 59 */     this.monitorKey = monitorKey;
/*    */   }
/*    */ 
/*    */   @Column(name="key_content", length=512)
/*    */   public String getKeyContent() {
/* 64 */     return this.keyContent;
/*    */   }
/*    */ 
/*    */   public void setKeyContent(String keyContent) {
/* 68 */     this.keyContent = keyContent;
/*    */   }
/*    */ 
/*    */   @Column(name="protocol_type")
/*    */   public int getProtocolType() {
/* 73 */     return this.protocolType;
/*    */   }
/*    */ 
/*    */   public void setProtocolType(int protocolType) {
/* 77 */     this.protocolType = protocolType;
/*    */   }
/*    */ 
/*    */   public void setServiceContextId(String serviceContextId) {
/* 81 */     this.serviceContextId = serviceContextId;
/*    */   }
/*    */ 
/*    */   @Column(name="data_time", columnDefinition="TIMESTAMP(6)")
/*    */   public Date getDataTime() {
/* 86 */     return this.dataTime;
/*    */   }
/*    */ 
/*    */   public void setDataTime(Date dataTime) {
/* 90 */     this.dataTime = dataTime;
/*    */   }
/*    */ }

/* Location:           C:\Users\think\Desktop\sgw_2.1.jar
 * Qualified Name:     com.hp.bon.sgw.domain.Top100KeyWordBean
 * JD-Core Version:    0.6.1
 */